GetRecordsetColumnNames

Returns an array of column names from a recordset or data row.

Syntax

GetRecordsetColumnNames(Recordset/DataRow)

Arguments

Argument Description
Recordset/DataRow Recordset or data row name. Must be opened with OpenRecordset or OpenRecordsetQuery.

Return value

Value Description
Value Array of column names from the recordset or data row.

Example

bugs = OpenRecordset("WysiCorp Bugs (Excel)")

colNames = GetRecordsetColumnNames(bugs)

For Each name in colNames

PrintLn(name)

Next